Passing arguments to a detached process

back to section start!
 
    If you create a command which does a longer work with "wait states" and 
    which should not be launched twice, you can use this wait phases to 
    receive additional work/options,... 
    All you have to do is to detach this command and send a message with 
    the options to it. This can be done multiple times and so we get what 
    we want. For example you may make a try with the time.module - even 
    if the clock is already running, you can change the background within 
    the DOpus CLI... 
 
    Enough talked, let's do it... :) 
 
    At first we need a globally indicator to detect if the command is 
    already running. It is needed to setup this in the 
 
     IPCWindow/modinit.c  
 
    And now let's make some heavier things... 
 
    IPCWindow/IPCWindow.c  
 
    So..., that it was on extremely simple programs. Now you are ready to 
    take off ;). Next level: Average... :) 

DOpus PLUS - giving you that bit extra...